gh-142956: Update tomllib to parse TOML 1.1.0#144243
Merged
encukou merged 10 commits intopython:mainfrom Feb 3, 2026
Merged
Conversation
Closed
encukou
approved these changes
Jan 26, 2026
Member
encukou
left a comment
There was a problem hiding this comment.
Thank you! The changes are rather small, and match the spec updates as far as I can see; the cosmetic changes are indeed cosmetic.
I'll merge ~Friday is there are no objections, to give others a chance to review
StanFromIreland
approved these changes
Jan 26, 2026
hauntsaninja
approved these changes
Jan 26, 2026
vstinner
reviewed
Jan 27, 2026
Doc/library/tomllib.rst
Outdated
| support writing TOML. | ||
|
|
||
| .. versionchanged:: next | ||
| Module updated to support TOML 1.1.0. Initially the module supported TOML 1.0.0. |
Member
There was a problem hiding this comment.
Would it be possible to elaborate changes between TOML 1.0 and TOML 1.1? Maybe just give some examples.
I suggest to document this change in What's New in Python 3.15.
Member
There was a problem hiding this comment.
That's a good point. I suggest:
- Copying the first four points from TOML changelog to What's New (with attribution link)
- Linking to the What's New entry from here. (In the long term, a changelog will be increasingly distracting.)
Member
|
I've proposed a What's New entry as a PR to your branch: hukkin#41 |
Co-authored-by: Taneli Hukkinen <hukkinen@eurecom.fr> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Aniketsy
pushed a commit
to Aniketsy/cpython
that referenced
this pull request
Feb 3, 2026
Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As per this discussion, this includes a commit that syncs cosmetic changes with Tomli (to reduce diff and make maintenance easier), so this is probably best reviewed by commit.
📚 Documentation preview 📚: https://cpython-previews--144243.org.readthedocs.build/